<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\UserController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});
//录入板块
Route::any("member",function (){
    return view("member");
});
//录入信息
Route::post("memberOut",[UserController::class,"memberOut"]);
//首页展示
Route::get('page',[UserController::class,"page"]);
//头像展示
Route::get("pageImg",[UserController::class,"pageImg"]);
//下载头像
Route::get("down",[UserController::class,'down']);
//删除
Route::any("del",[UserController::class,'del']);